import request from "@/utils/request";


/**
 * 获取商家的充值记录
 * @param params
 * @returns {Promise | Promise<unknown>}
 */
export function getAmountRecordData(params = {}){
  return request({
    url: '/amount/getAmountRecordData',
    method: 'get',
    params
  })
}

/**
 * 获取所有的类型
 * @returns {Promise | Promise<unknown>}
 */
export function getAllAmountType(){
  return request({
    url: '/amount/getAmountAllType',
  })
}
